package org.japo.java.swing.listeners;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import org.japo.java.swing.igu.IGU;

public class GET extends KeyAdapter{
    
    private final IGU igu;
    
    public GET(IGU igu){
        this.igu = igu;
    }
    
    @Override
    public void keyPressed(KeyEvent ke) {
        Object o = ke.getSource();
        igu.procesarAccion(o);
    }
}
